package com.itheima.server.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.itheima.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 合同信息表
 * @TableName hk_contract
 */
@TableName(value ="hk_contract")
@Data
public class Contract extends BaseEntity {
    /*** 合同ID*/
    @TableId(type = IdType.AUTO)
    private Long id;
    /*** 合同编号*/
    private String contractNo;
    /*** 客户手机号*/
    private String phone;
    /*** 客户姓名*/
    private String name;
    /*** 科目(0-8)*/
    private Integer subject;
    /*** 渠道(0表示默认渠道)*/
    private Integer channel;
    /*** 活动ID*/
    private Long activityId;
    /*** 课程ID*/
    private Long courseId;
    /*** 合同状态(4,7等)*/
    private Integer status;
    /*** 合同文件路径*/
    private String fileName;
    /*** 课程价格*/
    private Double coursePrice;
    /*** 折扣类型*/
    private String discountType;
    /*** 订单金额*/
    private Double orders;
    /*** 完成时间*/
    private LocalDateTime finishTime;
    /*** 业务ID*/
    private Long businessId;
    /*** 部门ID*/
    private Long deptId;
}